package com.example.model.dlo;

import com.example.model.*;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;

import java.time.LocalDateTime;
import java.util.List;
@Data
public class CmBusiness {
    private int id;
    private String name;
    private BusinessType type;
    private Employee owner;
    @JsonFormat(pattern = "yyyy-MM-dd")
    private LocalDateTime startTime;
    @JsonFormat(pattern = "yyyy-MM-dd")
    private LocalDateTime endTime;
    private BusinessStatus status;
    private Priority priority;
    private String description;
    @JsonFormat(pattern = "yyyy-MM-dd")
    private LocalDateTime createTime;
    @JsonFormat(pattern = "yyyy-MM-dd")
    private LocalDateTime updateTime;
}
